import random

for i in range(5):
    print(random.randint(0,2))

print("===============================")
for i in range(5):
    print(random.randrange(0,1))

print("222===============================")

x=list(range(5))
print(x)

random.shuffle(x)
print(x)

random.shuffle(x)
print(x)

print("333===============================")
for i in range(10):
    print(random.choice(x),end=",")
print("\n")
print("444===============================")
for i in range(3):
  print(random.choices(x,k=3),end=",")

print("555===============================")
for i in range(10):
    print(random.choices([0,1],[100 ,1],k=10))

print("666===============================")
for i in range(5):
    print(random.sample([0,1,2,3],k=4))